package cn.kclove.service;

import cn.kxlove.common.EUDataGridResult;
import cn.kxlove.pojo.TbItem;
import cn.kxlove.util.TaotaoResult;

/**
 * @author 郑开心
 * @date 16/1/26
 */
public interface ItemService {

    TbItem getItemById(long itemId);

    EUDataGridResult getItemList(int page, int rows);

    TaotaoResult createItem(TbItem item, String desc, String itemParams) throws Exception;

    TaotaoResult updateItem(TbItem item,String desc) throws Exception;

    TaotaoResult queryItemDesc(long itemId);
}
